import Vue from 'vue'
import router from './router.js';
import App from './App';
import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);
Vue.use(ViewUI);


Vue.config.productionTip = false


new Vue
(
  {
    router,  // es6语法，相当于router:router,
    render: h => h(App),
  }
).$mount('#app')
